//
//  YDAOptionalNoDataView.h
//  siyanone
//
//  Created by LK-IOS on 2018/3/26.
//  Copyright © 2018年 LK-News. All rights reserved.
//

#import <UIKit/UIKit.h>

@class YDAOptionalNoDataView;

//显示数据类型
typedef NS_ENUM(NSUInteger, SYAOptionalNoDataViewButtonStyle) {
    SYAOptionalNoDataViewStyleDefault,//0   deafault
    SYAOptionalNoDataViewStyleSearch,//1
};

@protocol SYAOptionalNoDataViewDelegate <NSObject>

@optional

/**
 点击按钮
 
 @param dataView 本身
 @param style 按钮类型
 */
-(void)optionalNoDataView:(YDAOptionalNoDataView *)dataView buttonStyle:(SYAOptionalNoDataViewButtonStyle)style searchString:(NSString *)searchString;


@end

@interface YDAOptionalNoDataView : UIView


@property (nonatomic , weak)id<SYAOptionalNoDataViewDelegate>delegate;

@end
